package com.example.bean;

import com.example.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ConsumerCompent {

    @Reference(timeout = 10000)
    private HelloService helloService;

    public String methodA(){
        return helloService.methodA();
    }

    public String methodB(){
        return helloService.methodB();
    }

    public String methodC(){
        return helloService.methodC();
    }
}
